/**
 * ConnectionStatus.java
 * 9 mai 2010 13:51:44
 * Copyright Julien 2010
 */
package fr.jbrunet.win.ndriveconnector.utils;

/**
 * @author Julien
 *
 */
public class Connection {
	private static int status = Constants.STATUS_NOT_CONNECTED;
	
	private static Connection instance_ = null;

	protected Connection() {
		
	}
	
	public static Connection getInstance() {
		if (instance_==null) {
			instance_=new Connection();
		}
		return instance_;
	}
	
	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		Connection.status = status;
	}
}
